home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / BROWSER.XPI / bin / chrome / toolkit.jar / content / global / filepicker.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-01-28  |  5.1 KB  |  120 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.    -
  6.    - The contents of this file are subject to the Mozilla Public License Version
  7.    - 1.1 (the "License"); you may not use this file except in compliance with
  8.    - the License. You may obtain a copy of the License at
  9.    - http://www.mozilla.org/MPL/
  10.    -
  11.    - Software distributed under the License is distributed on an "AS IS" basis,
  12.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.    - for the specific language governing rights and limitations under the
  14.    - License.
  15.    -
  16.    - The Original Code is mozilla.org code.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corporation.
  20.    - Portions created by the Initial Developer are Copyright (C) 2000
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -   Stuart Parmenter <pavlov@netscape.com>
  25.    -   Brian Ryner <bryner@brianryner.com>
  26.    -   Jan Varga <varga@ku.sk>
  27.    -   Peter Annema <disttsc@bart.nl>
  28.    -   Johann Petrak <johann@ai.univie.ac.at>
  29.    -
  30.    - Alternatively, the contents of this file may be used under the terms of
  31.    - either of the GNU General Public License Version 2 or later (the "GPL"),
  32.    - or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  33.    - in which case the provisions of the GPL or the LGPL are applicable instead
  34.    - of those above. If you wish to allow use of your version of this file only
  35.    - under the terms of either the GPL or the LGPL, and not to allow others to
  36.    - use your version of this file under the terms of the MPL, indicate your
  37.    - decision by deleting the provisions above and replace them with the notice
  38.    - and other provisions required by the GPL or the LGPL. If you do not delete
  39.    - the provisions above, a recipient may use your version of this file under
  40.    - the terms of any one of the MPL, the GPL or the LGPL.
  41.    -
  42.    - ***** END LICENSE BLOCK ***** -->
  43.  
  44. <?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
  45.  
  46. <!DOCTYPE dialog SYSTEM "chrome://global/locale/filepicker.dtd" >
  47.  
  48. <dialog id="main-window"
  49.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  50.   xmlns:nc="http://home.netscape.com/NC-rdf#"
  51.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  52.   onload="filepickerLoad();"
  53.   width="426" height="300"
  54.   ondialogaccept="return selectOnOK();"
  55.   ondialogcancel="return onCancel();"
  56.   persist="screenX screenY width height">
  57.  
  58. <stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
  59. <script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
  60.  
  61. <hbox align="center">
  62.   <label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
  63.   <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
  64.     <menupopup id="lookInMenu"/>
  65.   </menulist>
  66.   <button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/>
  67.   <button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/>
  68.   <button id="newDirButton" hidden="true" class="new-dir-button" tooltiptext="&folderNew.tooltiptext;" oncommand="newDir();"/>
  69. </hbox>
  70.  
  71. <hbox flex="1">
  72.   <deck id="errorShower" flex="1">
  73.     <tree id="directoryTree" flex="1" class="focusring" seltype="single"
  74.               onclick="onClick(event);"
  75.               ondblclick="onDblClick(event);"
  76.               onkeypress="onKeypress(event);"
  77.               onfocus="onTreeFocus(event);"
  78.               onselect="onSelect(event);">
  79.       <treecols>
  80.         <treecol id="FilenameColumn" label="&name.label;" flex="1"
  81.                      class="sortDirectionIndicator"/>
  82.         <splitter class="tree-splitter"/>
  83.         <treecol id="FileSizeColumn" label="&size.label;" flex="1"
  84.                      class="sortDirectionIndicator"/>
  85.         <splitter class="tree-splitter"/>
  86.         <treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
  87.                      class="sortDirectionIndicator"/>
  88.       </treecols>
  89.       <treechildren/>
  90.     </tree>
  91.     <label>&noPermissionError.label;</label>
  92.   </deck>
  93. </hbox>
  94.  
  95. <grid style="margin-top: 5px">
  96.   <columns>
  97.     <column/>
  98.     <column flex="1"/>
  99.   </columns>
  100.  
  101.   <rows>
  102.     <row align="center">
  103.       <label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
  104.       <textbox id="textInput" flex="1" oninput="doEnabling()" 
  105.                onfocus="onTextFieldFocus();"/>
  106.     </row>
  107.     <row id="filterBox" hidden="true" align="center">
  108.       <label value="&filterMenuList.label;"  control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
  109.       <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
  110.     </row>
  111.   </rows>
  112. </grid>
  113. <hbox class="dialog-button-box" align="center">
  114.   <checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
  115.             flex="1" align="left"  accesskey="&showHiddenFiles.accesskey;"/>
  116.   <button dlgtype="accept" class="dialog-button"/>
  117.   <button dlgtype="cancel" class="dialog-button"/>
  118. </hbox>
  119. </dialog>
  120.